<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
    <script>
        console.log(2 ** 53);
        let num1 = 123;
        let num2 = 123n;
        console.log(num1, num2); //123 123n
        console.log(num1 == num2) //true
        console.log(num1 === num2) //false
        console.log(num2 > 100) //true
        //console.log(num2 + 2) //报错
        //BigInt函数
        console.log(num2 + BigInt(2)) //125n
        console.log(BigInt(2 ** 53) + BigInt(2)) // 9007199254740994n

    </script>
</body>

</html>